package com.ruoyi.merchant.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 账户余额VO
 */
@Data
//账户余额信息
public class AccountBalanceVO {
    
    //商家ID
    private Long merchantId;
    
    //商家名称
    private String merchantName;
    
    //账户余额
    private BigDecimal balance;
    
    //冻结金额（预留）
    private BigDecimal frozenAmount;
    
    //可用余额
    private BigDecimal availableBalance;
    
    //累计收入
    private BigDecimal totalIncome;
    
    //累计支出
    private BigDecimal totalExpense;
    
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
